package com.ruoyi.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;
import java.util.Map;

public interface HouseMapper {

    Integer getId();

    int insertHouse(Map map);

    int insertHouseDay(Map map);

    List<Map> getHouseDayList(Map map);

    List<Map> getHouseList(@Param("hotelId") String hotelId, @Param("mapList") List<Map> mapList);

    List<Map> getHouseListByHotelId(Map map);

    Map getHouseDayDataByHouseIdAndTime(Map map);

    int updateHouseDayData(Map map);

    Map getHouseObjByHouseId(String houseId);

    Map getHouseObjByObj(Map map);

    int updateHouseByMap(Map map);

    int getHouseByEhouseId(@Param("ehouseId") String ehouseId, @Param("hotelId") String hotelId, @Param("rpName") String rpName);

    int deleteHouseDataByHouseId(String houseId);

}
